package cn.declare.service.logistics.Impl;

import cn.declare.dao.logistics.LogisticsDao;
import cn.declare.service.logistics.LogisticsService;
import cn.declare.vo.talent.LogisticsoptionVo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class LogisticsServiceImpl implements LogisticsService {

    @Autowired
    private LogisticsDao logisticsDao;
    @Override
    public LogisticsoptionVo selectAll(Integer logisticsoption) {
        return logisticsDao.selectAll(logisticsoption);
    }

    @Override
    public int getLogAdd(LogisticsoptionVo logisticsoptionVo) {
        return logisticsDao.getLogAdd(logisticsoptionVo);
    }

    @Override
    public List<LogisticsoptionVo> getFindAll() {
        return logisticsDao.getFindAll();
    }

    @Override
    public LogisticsoptionVo getFindById(Integer id) {
        return logisticsDao.getFindById(id);
    }

    @Override
    public int getUpdate(LogisticsoptionVo logisticsoptionVo) {
        return logisticsDao.getUpdate(logisticsoptionVo);
    }

    @Override
    public List<LogisticsoptionVo> getFindByCreatDate(Date startDate, Date lastDate) {
        return logisticsDao.getFindByCreatDate(startDate,lastDate);
    }
}
